class Animal(object):
    def __init__(self):
        print('动物')
        pass


class Dog(Animal):
    def __init__(self):
        print('狗')
        pass

    def say(self):
        print('狗叫')

class Wolf(Animal):
    def __init__(self):
        print("狼")
        pass

    def say(self):
        print('狼叫')

class Hasq(Dog,Wolf):
    def __init__(self):
        # Dog.__init__(self)
        # Wolf.__init__(self)
        print('哈士奇')
        print(Hasq.__base__)
        print(Hasq.__bases__)
        pass

a = Hasq()
# 查找顺序：对象->对象的类->父类->父父类
# 多继承条件下，找父类的时候，找从左往右的第一个父类
a.say()



